package com.fortune.service;

import com.fortune.dto.NewsDTO;
import com.fortune.entity.NewsEntity;
import com.fortune.vo.PageResult;

import java.util.List;

/**
 * @program: fortune
 * @description:
 * @author: wwb
 * @create: 2025-03-25 17:24
 */
public interface NewsService {
    PageResult<List<NewsEntity>> getNewsList(NewsDTO newsDTO);

    NewsEntity getNewsDetailsById(Integer newsId);
}
